package org.mte.swift.builder;


import org.apache.log4j.BasicConfigurator;
import org.springframework.context.support.GenericXmlApplicationContext;

public class SwiftBuilderMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		BasicConfigurator.configure();
		try {			
			GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
			ctx.load("classpath:swift-builder.xml");
			ctx.refresh();			
			SwiftBuilder swiftBuilder = ctx.getBean("swiftBuilder", SwiftBuilder.class);
			swiftBuilder.build();
		} catch (Exception e) {
			e.printStackTrace();
		}

	}

}
